package cn.ywsj.ywsjmidtier.entity.VO;

import cn.ywsj.ywsjmidtier.entity.BaseGroup;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @ClassName : FeedbackVo
 * @Author : Lenovo
 * @Date: 2021/7/21 14:42
 * @Description :
 */
@Data
public class FeedbackVo {
    @NotNull(groups = {BaseGroup.Update.class})
    private Long feedbackId;

    private Integer type;

    private Long fromCustId;

    private Long toCustId;

    private Long operUser;

    private Long addUser;

    @NotBlank(message = "{com.itonghui.feedback.feedbackInformation.null}", groups = {BaseGroup.Insert.class})
    @Length(max = 200, message = "{com.itonghui.feedback.feedbackInformation.length}", groups = {BaseGroup.Insert.class})
    private String feedbackInformation;

    private String contactInfo;

    private String attachId;

    private List<Long> imageAttach;

    private String remark;

    private String businessId;

    @NotNull(groups = {BaseGroup.Update.class})
    private Integer resolved;

    private Date addTime;

    private Date operTime;

    private String custName;

    private String userName;
}
